﻿<%@ page language="C#" masterpagefile="Main.master" autoeventwireup="true" inherits="Third_Login, App_Web_olafkec5" title="Untitled Page" %>
<asp:Content ID="ContentLogin" ContentPlaceHolderID="ContentPlaceHolderMain" Runat="Server">

    <div>
<form runat="server" style=" margin-top:40px; margin-bottom:40px;">

<table>
<tr><td>用户名：</td><td>
    <asp:TextBox ID="txtusername" runat="server" 
        CssClass="textboxbeauty" MaxLength="6"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
        ControlToValidate="txtusername" ErrorMessage="用户名不能为空"></asp:RequiredFieldValidator>
    </td></tr>
<tr><td>密码：</td><td>
    <asp:TextBox ID="txtpassword" runat="server" 
        CssClass="textboxbeauty" TextMode="Password" MaxLength="15"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
        ControlToValidate="txtpassword" ErrorMessage="密码不能为空"></asp:RequiredFieldValidator>
    </td></tr>
<tr><td>记住我</td><td><asp:CheckBox ID="checkBoxCookie" runat="server" CssClass="textboxbeauty" /></td></tr>

<tr><td>验证码：</td>
<td>
    <asp:TextBox ID="textBoxAuth" runat="server" Width="56px" CssClass="textboxbeauty" MaxLength="4"></asp:TextBox><asp:Image ID="Image1" ImageUrl="~/Other/authcode.aspx" runat="server" />
    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
        ErrorMessage="验证码不能为空" ControlToValidate="textBoxAuth"></asp:RequiredFieldValidator>
</td>
</tr>
<tr><td>&nbsp;</td><td>
            <asp:Button ID="btnlogin" runat="server" Text="登陆" onclick="btnLogin_Click" 
        CssClass="buttonstyle" Width="80px" />
    &nbsp;&nbsp;&nbsp;
    <asp:HyperLink ID="register" NavigateUrl="~/Main/Register.aspx" runat="server">注册</asp:HyperLink>
    </td></tr>
<tr><td></td><td><span style=" color:#ff0000; font-weight:bold;"><asp:Label ID="labelAlert" runat="server" Text=""></asp:Label></span></td></tr>
</table>



</form>

</div>

</asp:Content>

